package com.shop.zkmall.app.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 直播间商品竞选砍价出价表
 * </p>
 *
 * @author ${author}
 * @since 2025-11-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("live_room_goods_bid")
@ApiModel(value="LiveRoomGoodsBid对象", description="直播间商品竞选砍价出价表")
public class LiveRoomGoodsBid implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    private Long id;

    @ApiModelProperty(value = "直播间ID")
    private Long roomId;

    @ApiModelProperty(value = "商品ID")
    private Long goodsId;

    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @ApiModelProperty(value = "类型 0竞拍 1砍价")
    private Long type;

    @ApiModelProperty(value = "出价金额")
    private BigDecimal bidAmount;

    @ApiModelProperty(value = "出价时间")
    private LocalDateTime bidTime;

    @ApiModelProperty(value = "出价状态：0未获胜 1获胜")
    private Integer status;

    @ApiModelProperty(value = "备注（如前端补充信息）")
    private String remark;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
